package com.zhiqianbao.entity;

import java.io.Serializable;

/**
 * Created by 子龙 on 2017/7/26.
 */

public class PayOrderList implements Serializable {


    /**
     * code : 0
     * msg : 查询活动列表信息成功
     * data : {"pageSize":1,"totalCount":2,"pageNum":1,"crmActivityList":[{"id":9,"activityName":"0.0","activityUrl":"0.0","activityContent":"0.0\r\n","deployType":"1","number":0,"status":"3","deployTime":null,"endTime":null,"createTime":null,"updateTime":null,"activityPicUrl":"http://192.168.1.108/group1/M00/00/12/wKgBbFl1ZyCAYU5RAAjTrRb5Xl0202.png","crmActivityCouponList":null}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        public static final String SIGN_TYPE_RSA = "RSA";
        public static final String SIGN_TYPE_MD5 = "MD5";
        private static final long serialVersionUID = 1L;
        private String oid_partner; // 商户编号是商户在连连钱包支付平台上开设的商户号码，为18位数字，如：201304121000001004
        private String notify_url; // 连连钱包支付平台在用户支付成功后通知商户服务端的地址
        private String busi_partner; // 虚拟商品销售：101001,实物商品销售：109001
        private String no_order; // 商户系统唯一订单号
        private String dt_order; // 格式：YYYYMMDDH24MISS 14位数字，精确到秒
        private String no_goods;

        private String name_goods; //商品名称
        private String money_order; // 该笔订单的资金总额，单位为RMB-元。大于0的数字，精确到小数点后两位。如：49.65
        private String sign_type; // 参与签名
        private String info_order; // 订单描述
        private String bank_code; // 银行编号
        private String force_bank; // 是否强制使用该银行的银行卡标志(0为不强制，1为强制)
        private String pay_type; // 支付方式(2:借记卡,3:信用卡)
        private String valid_order; // 订单有效期
//        private String risk_item; // 风控字段
        private RiskItem riskItem;
        private String sign;

        private String repayment_no;//分期计划编号
        private String repayment_plan;//分期计划
        private String sms_param;//短信参数

        // 以下字段不参与签名
        private String id_type;
        private String id_no;
        private String acct_name;
        private String no_agree;    // 银行卡协议号 支付成功后返回的，如果是卡前置，需要传入。
        private String card_no;     // 银行卡号 卡前置，卡首次支付的时候传入，卡历次支付传入对应协议号就可以
        private String flag_modify; // 修改前置姓名、身份证号的标识 1为不可修改 0为可修改
        private String user_id; // 用户id
        private String shareing_data; // 分账信息
        private String payload;//加密区域
        private String platform;//平台来源标示
        private String product_type;//用于区别同pay_product下不同产品, 比如赋值"cheyifu"即为车易付

        public RiskItem getRiskItem() {
            return riskItem;
        }

        public void setRiskItem(RiskItem riskItem) {
            this.riskItem = riskItem;
        }

        public static String getSignTypeRsa() {
            return SIGN_TYPE_RSA;
        }

        public static String getSignTypeMd5() {
            return SIGN_TYPE_MD5;
        }

        public static long getSerialVersionUID() {
            return serialVersionUID;
        }

        public String getOid_partner() {
            return oid_partner;
        }

        public void setOid_partner(String oid_partner) {
            this.oid_partner = oid_partner;
        }

        public String getNotify_url() {
            return notify_url;
        }

        public void setNotify_url(String notify_url) {
            this.notify_url = notify_url;
        }

        public String getBusi_partner() {
            return busi_partner;
        }

        public void setBusi_partner(String busi_partner) {
            this.busi_partner = busi_partner;
        }

        public String getNo_order() {
            return no_order;
        }

        public void setNo_order(String no_order) {
            this.no_order = no_order;
        }

        public String getDt_order() {
            return dt_order;
        }

        public void setDt_order(String dt_order) {
            this.dt_order = dt_order;
        }

        public String getNo_goods() {
            return no_goods;
        }

        public void setNo_goods(String no_goods) {
            this.no_goods = no_goods;
        }

        public String getName_goods() {
            return name_goods;
        }

        public void setName_goods(String name_goods) {
            this.name_goods = name_goods;
        }

        public String getMoney_order() {
            return money_order;
        }

        public void setMoney_order(String money_order) {
            this.money_order = money_order;
        }

        public String getSign_type() {
            return sign_type;
        }

        public void setSign_type(String sign_type) {
            this.sign_type = sign_type;
        }

        public String getInfo_order() {
            return info_order;
        }

        public void setInfo_order(String info_order) {
            this.info_order = info_order;
        }

        public String getBank_code() {
            return bank_code;
        }

        public void setBank_code(String bank_code) {
            this.bank_code = bank_code;
        }

        public String getForce_bank() {
            return force_bank;
        }

        public void setForce_bank(String force_bank) {
            this.force_bank = force_bank;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public String getValid_order() {
            return valid_order;
        }

        public void setValid_order(String valid_order) {
            this.valid_order = valid_order;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getRepayment_no() {
            return repayment_no;
        }

        public void setRepayment_no(String repayment_no) {
            this.repayment_no = repayment_no;
        }

        public String getRepayment_plan() {
            return repayment_plan;
        }

        public void setRepayment_plan(String repayment_plan) {
            this.repayment_plan = repayment_plan;
        }

        public String getSms_param() {
            return sms_param;
        }

        public void setSms_param(String sms_param) {
            this.sms_param = sms_param;
        }

        public String getId_type() {
            return id_type;
        }

        public void setId_type(String id_type) {
            this.id_type = id_type;
        }

        public String getId_no() {
            return id_no;
        }

        public void setId_no(String id_no) {
            this.id_no = id_no;
        }

        public String getAcct_name() {
            return acct_name;
        }

        public void setAcct_name(String acct_name) {
            this.acct_name = acct_name;
        }

        public String getNo_agree() {
            return no_agree;
        }

        public void setNo_agree(String no_agree) {
            this.no_agree = no_agree;
        }

        public String getCard_no() {
            return card_no;
        }

        public void setCard_no(String card_no) {
            this.card_no = card_no;
        }

        public String getFlag_modify() {
            return flag_modify;
        }

        public void setFlag_modify(String flag_modify) {
            this.flag_modify = flag_modify;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getShareing_data() {
            return shareing_data;
        }

        public void setShareing_data(String shareing_data) {
            this.shareing_data = shareing_data;
        }

        public String getPayload() {
            return payload;
        }

        public void setPayload(String payload) {
            this.payload = payload;
        }

        public String getPlatform() {
            return platform;
        }

        public void setPlatform(String platform) {
            this.platform = platform;
        }

        public String getProduct_type() {
            return product_type;
        }

        public void setProduct_type(String product_type) {
            this.product_type = product_type;
        }

        public static class RiskItem{
            private String user_info_bind_phone;
            private String user_info_full_name;
            private String user_info_identify_type;
            private String user_info_dt_register;
            private String user_info_mercht_userlogin;
            private String user_info_identify_state;
            private String user_info_id_no;
            private String user_info_mercht_userno;

            public String getUser_info_bind_phone() {
                return user_info_bind_phone;
            }

            public void setUser_info_bind_phone(String user_info_bind_phone) {
                this.user_info_bind_phone = user_info_bind_phone;
            }

            public String getUser_info_full_name() {
                return user_info_full_name;
            }

            public void setUser_info_full_name(String user_info_full_name) {
                this.user_info_full_name = user_info_full_name;
            }

            public String getUser_info_identify_type() {
                return user_info_identify_type;
            }

            public void setUser_info_identify_type(String user_info_identify_type) {
                this.user_info_identify_type = user_info_identify_type;
            }

            public String getUser_info_dt_register() {
                return user_info_dt_register;
            }

            public void setUser_info_dt_register(String user_info_dt_register) {
                this.user_info_dt_register = user_info_dt_register;
            }

            public String getUser_info_mercht_userlogin() {
                return user_info_mercht_userlogin;
            }

            public void setUser_info_mercht_userlogin(String user_info_mercht_userlogin) {
                this.user_info_mercht_userlogin = user_info_mercht_userlogin;
            }

            public String getUser_info_identify_state() {
                return user_info_identify_state;
            }

            public void setUser_info_identify_state(String user_info_identify_state) {
                this.user_info_identify_state = user_info_identify_state;
            }

            public String getUser_info_id_no() {
                return user_info_id_no;
            }

            public void setUser_info_id_no(String user_info_id_no) {
                this.user_info_id_no = user_info_id_no;
            }

            public String getUser_info_mercht_userno() {
                return user_info_mercht_userno;
            }

            public void setUser_info_mercht_userno(String user_info_mercht_userno) {
                this.user_info_mercht_userno = user_info_mercht_userno;
            }

            @Override
            public String toString() {
                return "RiskItem{" +
                        "user_info_bind_phone='" + user_info_bind_phone + '\'' +
                        ", user_info_full_name='" + user_info_full_name + '\'' +
                        ", user_info_identify_type='" + user_info_identify_type + '\'' +
                        ", user_info_dt_register='" + user_info_dt_register + '\'' +
                        ", user_info_mercht_userlogin='" + user_info_mercht_userlogin + '\'' +
                        ", user_info_identify_state='" + user_info_identify_state + '\'' +
                        ", user_info_id_no='" + user_info_id_no + '\'' +
                        ", user_info_mercht_userno='" + user_info_mercht_userno + '\'' +
                        '}';
            }
        }
    }

    @Override
    public String toString() {
        return "PayOrderList{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
